package com.cddx.logistics.mapper;

import com.cddx.logistics.domain.dto.SysDictQueryDTO;
import com.cddx.logistics.domain.pojo.SysDict;
import com.cddx.logistics.domain.vo.SysDictVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysDictMapper {
    List<SysDictVO> queryPage(SysDictQueryDTO sysDictQueryDTO);

    int delete(Integer id);

    int add(SysDict sysDict);

    int update(SysDict sysDict);

    int deleteBatch(@Param("ids") List<Integer> ids);

}
